#ifndef MAINMENU_H
#define MAINMENU_H

#include <QWidget>
#include <QImage>
#include <QPainter>
#include <QDebug>

namespace Ui {
    class MainMenu;
}

class MainMenu : public QWidget
{
    Q_OBJECT

public:
    explicit MainMenu(QWidget *parent = 0, QString newFilepath = "");
    ~MainMenu();

    void paintEvent(QPaintEvent *event);

private:
    Ui::MainMenu *ui;
    QString filepath;
    QImage bg;

private slots:
    void on_loadGame_clicked();
    void on_newGame_clicked();
};

#endif // MAINMENU_H
